package com.hlk.article.mapper;

import com.hlk.my.mapper.MyMapper;
import com.hlk.pojo.Comments;
import com.hlk.pojo.vo.CommentsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CommentsMapper extends MyMapper<Comments> {
    /**
     * 获取文章的评论
     *
     * @param map
     * @return
     */
    List<CommentsVO> queryArticleCommentList(@Param("map") Map<String, Object> map);
}
